home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3n / cap_bind.z / cap_bind
Encoding:
Text File  |  1998-10-20  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. CCCCAAAAPPPP____BBBBIIIINNNNDDDD((((3333NNNN))))                                                      CCCCAAAAPPPP____BBBBIIIINNNNDDDD((((3333NNNN))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cap_bind - bind a privileged name to a socket
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ccccaaaapppp____nnnneeeetttt....hhhh>>>>
  13.  
  14.      iiiinnnntttt ccccaaaapppp____bbbbiiiinnnndddd((((iiiinnnntttt ssss,,,, ccccoooonnnnsssstttt ssssttttrrrruuuucccctttt ssssoooocccckkkkaaaaddddddddrrrr ****nnnnaaaammmmeeee,,,,
  15.                   iiiinnnntttt nnnnaaaammmmeeeelllleeeennnn))));;;;
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      _c_a_p__b_i_n_d asserts appropriate privilege when assigning a name to a socket.
  19.      This is necessary when a process wishes to bind an Internet Domain socket
  20.      to a port whose numeric value is less than _1_0_2_4, for example.
  21.  
  22.      If ____PPPPOOOOSSSSIIIIXXXX____CCCCAAAAPPPP is in effect, a process calling this function should have
  23.      CCCCAAAAPPPP____PPPPRRRRIIIIVVVV____PPPPOOOORRRRTTTT capability in the permitted vector of its capability set.
  24.  
  25. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
  26.      _c_a_p__b_i_n_d returns 0 if successful, -1 otherwise.
  27.  
  28. EEEERRRRRRRROOOORRRRSSSS
  29.      _c_a_p__b_i_n_d has the same error codes as _b_i_n_d(2).
  30.  
  31. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  32.      capability(4), bind(2), sysconf(3c).
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.